package me.landery.modules.sinco.service.dto;

import lombok.Data;
import lombok.NoArgsConstructor;
import me.landery.annotation.Query;

import java.sql.Timestamp;
import java.util.List;

/**
 * @Author cc.w
 * @Date 2022/6/7 21:41
 * @Version 1.0
 */
@Data
@NoArgsConstructor
public class ReChargeQueryCriteria {
    @Query(type = Query.Type.EQUAL, joinName = "user", join = Query.Join.INNER)
    private Long id;

    @Query(type = Query.Type.INNER_LIKE, joinName = "user", join = Query.Join.INNER)
    private String username;

    @Query(type = Query.Type.BETWEEN)
    private List<Timestamp> createTime;

    @Query(type = Query.Type.BETWEEN)
    private List<Timestamp> time;
}
